<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Index page</title>
</head>
<body>
	<h1>Insert information of Guest</h1>
	<form action="addGuest" method="post" name="registerForm">
		<table>
			<tr>
				<td>Name:</td>
				<td><input type="text" name="name" id="name"/></td>
			</tr>
			<tr>
				<td>Email:</td>
				<td><input type="text" name="email" id="email"/></td>
			</tr>
			<tr>
				<td>Subscribe:</td>
				<td>
					<input type="radio" name="subscribe" id="subscribeYes" value="yes"/> Yes
					<input type="radio" name="subscribe" id="subscribeNo" value="no"/> No
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" name="submit" id="submit" value="Register"/>
					<input type="reset" name="reset" id="reset" value="Reset"/>
				</td>
			</tr>
		</table>
	</form>
	<a href="show.jsp">Show list email</a>
</body>
</html>